Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Updates actions/setup-node action to v2.5.1 #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 5, 2021

Mend Renovate

This PR contains the following updates:

Package Type Update Change
actions/setup-node action minor v2.1.4 -> v2.5.1

Release Notes

actions/setup-node

v2.5.1: Fix logic of error handling for npm warning and uncaught exception

Compare Source

In scope of this release we fix logic of error handling related to caching (https://github.com/actions/setup-node/pull/358) and (https://github.com/actions/setup-node/pull/359).

In the previous behaviour we relied on stderr output to throw error. The warning messages from package managers can be written to the stderr's output. For now the action will throw an error only if exit code differs from zero. Besides, we add logic to сatch and log unhandled exceptions.

v2.5.0: Adding Node.js version file support

Compare Source

In scope of this release we add the node-version-file input and update actions/cache dependency to the latest version.

Adding Node.js version file support

The new input (node-version-file) provides functionality to specify the path to the file containing Node.js's version with such behaviour:

  • If the file does not exist the action will throw an error.
  • If you specify both node-version and node-version-file inputs, the action will use value from the node-version input and throw the following warning: Both node-version and node-version-file inputs are specified, only node-version will be used.
  • For now the action does not support all of the variety of values for Node.js version files. The action can handle values according to the documentation and values with v prefix (v14)
steps:
  - uses: actions/checkout@v2
  - name: Setup node from node version file
    uses: actions/setup-node@v2
    with:
      node-version-file: '.nvmrc'
  - run: npm install
  - run: npm test

Update actions/cache dependency to 1.0.8 version.

We updated actions/cache dependency to the latest version (1.0.8). For more information please refer to the toolkit/cache.

v2.4.1: Add "cache-hit" output

Compare Source

This release introduces a new output: cache-hit (#​327).

The cache-hit output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.

v2.4.0: Support caching for mono repos and repositories with complex structure

Compare Source

This release introduces dependency caching support for mono repos and repositories with complex structure (#​305).

By default, the action searches for the dependency file (package-lock.json or yarn.lock) in the repository root. Use the cache-dependency-path input for cases when multiple dependency files are used, or they are located in different subdirectories. This input supports wildcards or a list of file names for caching multiple dependencies.

Yaml example:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
  with:
    node-version: 14
    cache: npm
    cache-dependency-path: 'sub-project/package-lock.json'

For more examples of using cache-dependency-path input, see the Advanced usage guide.

v2.3.2: Revert temporary fix

Compare Source

We had to disable pre-cached Node.js usage in the previous version due to the broken image cache. Now cache is fixed, so we can safely enable its usage again.
Thank you for understanding.

v2.3.1: Temporary maintenance fix.

Compare Source

Temporarily disabled usage of pre-cached Node.js.

v2.3.0: Support caching pnpm dependencies

Compare Source

This release introduces dependency caching support for the pnpm package manager (#​278).

Caching pnpm dependencies:

### This workflow uses actions that are not certified by GitHub.
### They are provided by a third-party and are governed by

### separate terms of service, privacy policy, and support
### documentation.

steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
  with:
    version: 6.10.0
- uses: actions/setup-node@v2
  with:
    node-version: '14'
    cache: 'pnpm'
- run: pnpm install
- run: pnpm test

NOTE: pnpm caching support requires pnpm version >= 6.10.0

v2.2.0: Support caching dependencies and LTS aliases

Compare Source

This release brings two major features:

Supported version syntax

The node-version input supports the following syntax:

major versions: 12, 14, 16
more specific versions: 10.15, 14.2.0, 16.3.0
nvm LTS syntax: lts/erbium, lts/fermium, lts/*

Caching dependencies

The action has a built-in functionality for caching and restoring npm/yarn dependencies. Supported package managers are npm, yarn. The cache input is optional, and caching is turned off by default.

Caching npm dependencies:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
  with:
    node-version: '14'
    cache: 'npm'
- run: npm install
- run: npm test

Caching yarn dependencies:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
  with:
    node-version: '14'
    cache: 'yarn'
- run: yarn install
- run: yarn test

Yarn caching handles both yarn versions: 1 or 2.

At the moment, only lock files in the project root are supported.

v2.1.5: Release

Compare Source

Improve error and warning line number handling (problem matcher regex)


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@changelogg
Copy link

changelogg bot commented Apr 5, 2021

Hey! Changelogs info seems to be missing or might be in incorrect format.
Please use the below template in PR description to ensure Changelogg can detect your changes:
- (tag) changelog_text
or
- tag: changelog_text
OR
You can add tag in PR header or while doing a commit too
(tag) PR header
or
tag: PR header
Valid tags: added / feat, changed, deprecated, fixed / fix, removed, security, build, ci, chore, docs, perf, refactor, revert, style, test
Thanks!
For more info, check out changelogg docs

@github-actions
Copy link

github-actions bot commented Apr 6, 2021

Thanks for the PR!

This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged.

@github-actions
Copy link

github-actions bot commented Apr 6, 2021

Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md.

@github-actions
Copy link

github-actions bot commented Apr 6, 2021

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 96ca1ea to 061a361 Compare April 14, 2021 20:49
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 061a361 to fb3e26c Compare April 15, 2021 08:47
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from fb3e26c to f6484fe Compare April 15, 2021 13:49
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from f6484fe to 1df4000 Compare April 15, 2021 14:55
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 1df4000 to 59c0930 Compare April 15, 2021 18:07
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 59c0930 to 8c6636c Compare April 19, 2021 18:41
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 8c6636c to 03e8e05 Compare April 19, 2021 21:54
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 63edf6f to 25bcdc3 Compare July 23, 2021 16:35
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch 3 times, most recently from 54b7340 to 5a583f5 Compare August 5, 2021 17:14
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 5a583f5 to 6a6fc32 Compare August 12, 2021 17:22
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 6a6fc32 to 680f31d Compare August 13, 2021 09:29
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 680f31d to 6a1ab40 Compare August 13, 2021 18:33
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 6a1ab40 to 98be6de Compare September 27, 2021 14:21
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 98be6de to de2c297 Compare January 8, 2022 12:49
@viezly
Copy link

viezly bot commented Jan 8, 2022

Pull request by bot. No need to analyze

@renovate renovate bot changed the title ⬆️ Updates actions/setup-node action ⬆️ Updates actions/setup-node action to v2.5.1 Feb 25, 2022
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from de2c297 to 1761a41 Compare March 4, 2022 02:01
Signed-off-by: Renovate Bot <bot@renovateapp.com>
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 1761a41 to 09d8782 Compare March 13, 2022 23:15
Copy link
Author

renovate bot commented Feb 6, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant